package com.headfirst.BehaviorMode.observer.version1;

/**
 * 主题接口
 * @author sunhongguang
 * @create 2022-01-18-0:04
 */
public interface Subject {
    void registerObserver(Observer observer);
    void removeObserver(Observer observer);
    void notifyObservers();
}
